package org.i1510.wuyo.po;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * @author Administrator
 *	注册题库
 */
@Entity
@Table(name = "KM_REGIST")
public class KmRegist implements java.io.Serializable {
	private String docId;
	private String docSubject;
	private String docStatus;
	private String docCreator;
	private String docCreateTime;
	private String docLastor;
	private String docLastTime;
	

	/**
	 * 分类
	 */
	private String cateIds;
	/**
	 * 问题内容
	 */
	private String descs;
	/**
	 * 来源
	 */
	private String infoLink;
	/**
	 * 共被浏览数
	 */
	private String visitNum;
	/**
	 * 关注人ID
	 */
	private String focusIds;

	@Column(name = "cate_ids",  length = 36)
	public String getCateIds() {
		return cateIds;
	}

	public void setCateIds(String cateIds) {
		this.cateIds = cateIds;
	}

	@Column(name = "descs",  length = 500)
	public String getDescs() {
		return descs;
	}

	public void setDescs(String descs) {
		this.descs = descs;
	}

	@Column(name = "info_link",  length = 250)
	public String getInfoLink() {
		return infoLink;
	}

	public void setInfoLink(String infoLink) {
		this.infoLink = infoLink;
	}

	@Column(name = "visit_num",  length = 10)
	public String getVisitNum() {
		return visitNum;
	}

	public void setVisitNum(String visitNum) {
		this.visitNum = visitNum;
	}

	@Column(name = "focus_ids",  length = 3600)
	public String getFocusIds() {
		return focusIds;
	}

	public void setFocusIds(String focusIds) {
		this.focusIds = focusIds;
	}

	public KmRegist() {
	}

	@Id
	@Column(name = "doc_id", nullable = false, length = 36)
	public String getDocId() {
		return docId;
	}

	public void setDocId(String docId) {
		this.docId = docId;
	}

	@Column(name = "doc_subject",  length = 100)
	public String getDocSubject() {
		return docSubject;
	}

	public void setDocSubject(String docSubject) {
		this.docSubject = docSubject;
	}

	@Column(name = "doc_status",  length = 2)
	public String getDocStatus() {
		return docStatus;
	}

	public void setDocStatus(String docStatus) {
		this.docStatus = docStatus;
	}

	@Column(name = "doc_creator",  length = 36)
	public String getDocCreator() {
		return docCreator;
	}

	public void setDocCreator(String docCreator) {
		this.docCreator = docCreator;
	}

	@Column(name = "doc_create_time",  length = 19) 
	public String getDocCreateTime() {
		return docCreateTime;
	}

	public void setDocCreateTime(String docCreateTime) {
		this.docCreateTime = docCreateTime;
	}

	@Column(name = "doc_lastor",  length = 36)
	public String getDocLastor() {
		return docLastor;
	}

	public void setDocLastor(String docLastor) {
		this.docLastor = docLastor;
	}

	@Column(name = "doc_last_time",  length = 19)
	public String getDocLastTime() {
		return docLastTime;
	}

	public void setDocLastTime(String docLastTime) {
		this.docLastTime = docLastTime;
	}
}